import request from '@/utils/request'

// 查询发放全勤奖列表
export function listFfqqj(query) {
  return request({
    url: '/basebill/ffqqj/list',
    method: 'get',
    params: query
  })
}

// 查询发放全勤奖详细
export function getFfqqj(fid) {
  return request({
    url: '/basebill/ffqqj/' + fid,
    method: 'get'
  })
}

// 新增发放全勤奖
export function addFfqqj(data) {
  return request({
    url: '/basebill/ffqqj',
    method: 'post',
    data: data
  })
}

// 修改发放全勤奖
export function updateFfqqj(data) {
  return request({
    url: '/basebill/ffqqj',
    method: 'put',
    data: data
  })
}

// 删除发放全勤奖
export function delFfqqj(fid) {
  return request({
    url: '/basebill/ffqqj/' + fid,
    method: 'delete'
  })
}



// 调用eas接口
export function importQqjff(fids) {
  return request({
    url: '/basebill/ffqqj/importQqjff/' + fids,
    method: 'get'
  })
}
